package Ar;

import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class Code02 {
    public static void main(String[] args) {
        Scanner sc  = new Scanner(System.in);
        int[] arr = new int[5];
        for (int i = 0; i < arr.length; i++) {
            System.out.print("请输入第"+(i+1)+"个元素:");
            arr[i] = sc.nextInt();
        }
        /*for (int i :arr){
            System.out.print(Arrays.toString(arr) +"\t");
        }*/
        System.out.print(Arrays.toString(arr));


    }
}
